package com.binest.socialMediaConnection.mapper;

import java.util.List;
import com.binest.socialMediaConnection.domain.SocialMediaConnection;
import org.apache.ibatis.annotations.Mapper;

/**
 * 社媒链接Mapper接口
 * 
 * @author wwd
 * @date 2024-01-16
 */
@Mapper
public interface SocialMediaConnectionMapper 
{
    /**
     * 查询社媒链接
     * 
     * @param id 社媒链接主键
     * @return 社媒链接
     */
    public SocialMediaConnection selectSocialMediaConnectionById(String id);
    public List<SocialMediaConnection> selectSocialMediaConnectionByInId(String inclusionId);
    /**
     * 查询社媒链接列表
     * 
     * @param socialMediaConnection 社媒链接
     * @return 社媒链接集合
     */
    public List<SocialMediaConnection> selectSocialMediaConnectionList(SocialMediaConnection socialMediaConnection);

    /**
     * 新增社媒链接
     * 
     * @param socialMediaConnection 社媒链接
     * @return 结果
     */
    public int insertSocialMediaConnection(SocialMediaConnection socialMediaConnection);

    /**
     * 修改社媒链接
     * 
     * @param socialMediaConnection 社媒链接
     * @return 结果
     */
    public int updateSocialMediaConnection(SocialMediaConnection socialMediaConnection);

    /**
     * 删除社媒链接
     * 
     * @param id 社媒链接主键
     * @return 结果
     */
    public int deleteSocialMediaConnectionById(String id);

    /**
     * 批量删除社媒链接
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteSocialMediaConnectionByIds(String[] ids);
}
